package com.nai365.nart.operation.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PledgeDemandDto {

	@ApiModelProperty(value = "id")
	private Long id;

	/**
	 * 质押藏品id
	 */
	@ApiModelProperty(value = "质押藏品")
	private SpuDto spu;

	/**
	 * 计划质押数量
	 */
	@ApiModelProperty(value = "计划质押数量")
	private Integer plantAmount;

	/**
	 * 起押数
	 */
	@ApiModelProperty(value = "起押数")
	private Integer minAmount;

	/**
	 * 实际质押数
	 */
	@ApiModelProperty(value = "实际质押数")
	private Integer actualAmount;

	/**
	 * 质押期限
	 */
	@ApiModelProperty(value = "质押期限")
	private Integer timeLimit;

	/**
	 * 收益碎片
	 */
	@ApiModelProperty(value = "收益")
	private Integer income;

	/**
	 * beginTime
	 */
	@ApiModelProperty(value = "开始时间")
	private LocalDateTime beginTime;

	/**
	 * endTime
	 */
	@ApiModelProperty(value = "结束时间")
	private LocalDateTime endTime;

	/**
	 * isPublished
	 */
	@ApiModelProperty(value = "是否发布")
	private Boolean isPublished;


}
